/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

/**
 *
 * @author Messi
 */
public class SanPhamPOJO {

    private int maSanPham;
    private String tenSanPham;
    private int maLoaiSanPham;
    private int maNhaSanXuat;
    private float giaBan;
    private int soLuong;
    private String hinhAnh;
    private String thongSo;
    private int dangGiamGia;

    public String getTenSanPham() {
        return tenSanPham;
    }

    public void setTenSanPham(String tenSanPham) {
        this.tenSanPham = tenSanPham;
    }

    public int getDangGiamGia() {
        return dangGiamGia;
    }

    public void setDangGiamGia(int dangGiamGia) {
        this.dangGiamGia = dangGiamGia;
    }

    public float getGiaBan() {
        return giaBan;
    }

    public void setGiaBan(float giaBan) {
        this.giaBan = giaBan;
    }

    public String getHinhAnh() {
        return hinhAnh;
    }

    public void setHinhAnh(String hinhAnh) {
        this.hinhAnh = hinhAnh;
    }

    public int getMaLoaiSanPham() {
        return maLoaiSanPham;
    }

    public void setMaLoaiSanPham(int maLoaiSanPham) {
        this.maLoaiSanPham = maLoaiSanPham;
    }

    public int getMaNhaSanXuat() {
        return maNhaSanXuat;
    }

    public void setMaNhaSanXuat(int maNhaSanXuat) {
        this.maNhaSanXuat = maNhaSanXuat;
    }

    public int getMaSanPham() {
        return maSanPham;
    }

    public void setMaSanPham(int maSanPham) {
        this.maSanPham = maSanPham;
    }

    public int getSoLuong() {
        return soLuong;
    }

    public void setSoLuong(int soLuong) {
        this.soLuong = soLuong;
    }

    public String getThongSo() {
        return thongSo;
    }

    public void setThongSo(String thongSo) {
        this.thongSo = thongSo;
    }

    public SanPhamPOJO(int maSanPham, String tenSanPham, int maLoaiSanPham, int maNhaSanXuat, float giaBan, int soLuong, String hinhAnh, String thongSo, int dangGiamGia) {
        this.maSanPham = maSanPham;
        this.tenSanPham = tenSanPham;
        this.maLoaiSanPham = maLoaiSanPham;
        this.maNhaSanXuat = maNhaSanXuat;
        this.giaBan = giaBan;
        this.soLuong = soLuong;
        this.hinhAnh = hinhAnh;
        this.thongSo = thongSo;
        this.dangGiamGia = dangGiamGia;
    }

    public SanPhamPOJO() {
        this.maSanPham = 0;
        this.tenSanPham = "";
        this.maLoaiSanPham = 0;
        this.maNhaSanXuat = 0;
        this.giaBan = 0;
        this.soLuong = 0;
        this.hinhAnh = "";
        this.thongSo = "";
        this.dangGiamGia = 0;
    }
}
